Ext.onReady(function(){
			windowst.show();
		});
		
		var grids=Ext.create('Ext.grid.Panel',{
			columns:[
				{header:'(单别)',xtype:'rownumberer',dataIndex:'SerNo',width:50,sortable:false},
				{header:'(日期)',dataIndex:'ProdID',width:100,},
				{header:'(单号)',dataIndex:'PrdClassName',width:120,},
				{ header: '(币别)', dataIndex: 'bianma' },
				{ header: '(汇率)', dataIndex: 'lianxi' },
				{ header: '(物料编号)', dataIndex: 'lianxi'},
				{ header: '(物料名称)', dataIndex: 'lianxi' },
				{ header: '(规格型号)', dataIndex: 'lianxi' },
				{ header: '(数量)', dataIndex: 'lianxi' },
				{ header: '(单位)', dataIndex: 'lianxi' },
				{ header: '(折扣前单价)', dataIndex: 'lianxi' },
				{ header: '(折数%)', dataIndex: 'lianxi' },
				{ header: '(单价)', dataIndex: 'lianxi' },
				{ header: '(单价是否含税)', dataIndex: 'lianxi' },
				{ header: '(金额)', dataIndex: 'lianxi' },
				{ header: '(备注)', dataIndex: 'lianxi' },
			],
			height:260,
			width:1700,
			autoScroll:false,
		});
		
		//头部form表单
		var forms=Ext.create('Ext.form.Panel', {
    	bodyPadding: 5,
		height:'100%',
		layout:"column",
		baseCls:'x-plain',
		items:[
		{
		style:'margin-left:20px;',
		xtype: 'textfield',
        name: 'Customer',
        fieldLabel: '供应商',
		width:250,
        labelWidth: 80,
        anchor: '100%',
		},{
		style:'margin-left:140px;',
		xtype: 'button',
        name: 'Customer',
        text: '资料输出',
		width:70,
        labelWidth: 80,
        anchor: '100%',
		},{
		style:'margin-left:10px;',
		xtype: 'button',
        name: 'Customer',
        text: '取回',
		width:70,
        labelWidth: 80,
        anchor: '100%',
		},grids]
    });
		
		//窗体大小
		var windowst=new Ext.Window({
			width:620,
			height:350,
			title:"历史交易查询",
			closable:true,
			resizable:false, //设置是否可以改变大小
			draggable:true,
			anchor: '100%',
 			items:[forms],
		});